/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.project.model;

import edu.project.annotations.ColumnAnnotation;
import edu.project.annotations.InsertableAnnotation;
import edu.project.annotations.TableAnnotation;

/**
 *
 * @author DoHongPhuc
 */
@TableAnnotation(name = "Student")
public class Student {

    @ColumnAnnotation(name = "student_id")
    public int id;
    @InsertableAnnotation(insert = true)
    @ColumnAnnotation(name = "student_name")
    public String name;
    @InsertableAnnotation(insert = true)
    @ColumnAnnotation(name = "student_age")
    public int age;

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
